package controller

import (
	"cmdb/base/Controller/Auth"
	"fmt"
	"github.com/astaxie/beego/context"
)

type HomeController struct {
	Auth.PrepareController
}

func (c *HomeController) Init(ctx *context.Context, controllerName, actionName string, app interface{}) {
	c.Controller.Init(ctx, controllerName, actionName, app) //初始化
	fmt.Println("init初始化：", controllerName, actionName, app)
}
func (c *HomeController) Index() {
	c.TplName = "home/index.html"
}
func (c *HomeController) Finish() {
	fmt.Println("Finish")
}
